package vcproj2cmake;

import java.io.File;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;

public class Project{
	public String Name;
	public String ProjectGUID;
	public File projFile;
	public ArrayList<Configuration> configurations = new ArrayList<Configuration>();
	public ArrayList<References> references = new ArrayList<References>();
	public HashSet<Filter> filter = new HashSet<Filter>();
	
	public void normalize() {
		for (int i = 0; i < configurations.size(); i++)
			configurations.get(i).normalize();
		for (int i = 0; i < references.size(); i++)
			references.get(i).normalize();
		Iterator<Filter> it_filter = filter.iterator();
		while(it_filter.hasNext()){
			it_filter.next().normalize();
		}
	}
}